package org.yangspring.samples.mvc.domainOracle;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by franklin on 6/24/2017.
 */

@Entity
@Table(schema = "SYS", name = "DBA_VIEWS")
public class DBAViews {

    @Id
    @Column(name = "VIEW_NAME")
    private String viewName;
    @Column(name = "OWNER")
    private String owner;
//    @Column(name = "TEXT")
//    private Byte[] text;
    @Column(name = "TYPE_TEXT")
    private String textType;
    @Column(name = "OID_TEXT")
    private String oidText;
    @Column(name = "VIEW_TYPE")
    private String viewType;
//    @Column(name = "CONTAINER_DATA")
//    private String containerData;

    public void setViewName(String viewName){
        this.viewName = viewName;
    }
    public String getViewName(){
        return this.viewName;
    }
    public void setOwner(String owner){
        this.owner = owner;
    }
    public String getOwner(){
        return this.owner;
    }
//    public void setText(Byte[] text){
//        this.text = text;
//    }
//    public Byte[] getText(){
//        return this.text;
//    }
    public void setTextType(String textType){
        this.textType = textType;
    }
    public String getTextType(){
        return this.textType;
    }
    public void setOidText(String oidText){
        this.oidText = oidText;
    }
    public String getOidText(){
        return this.oidText;
    }
    public void setViewType(String viewType){
        this.viewType = viewType;
    }
    public String getViewType(){
        return this.viewType;
    }
//    public void setContainerData(String containerData){
//        this.containerData = containerData;
//    }
//    public String getContainerData(){
//        return this.containerData;
//    }

}
